﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DTO;
using DAO;
namespace Banking.Quản_lý
{
    public partial class DanhSachNhanVien : UserControl
    {
        public DanhSachNhanVien()
        {
            InitializeComponent();
            
        }

       public void init(int ma)
        {
            //DataTable dt = NhanVienDAO.DSNhanVien();


            List<NhanVien> lst = NhanVienDAO.DSNhanVien(ma);
            dataGridViewX1.DataSource = lst;
        }
    }
}
